package com.gxa.p2p.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;
/**
 * @author xiangzuo
 * 参数配置
 */
@Data
@AllArgsConstructor
@NoArgsConstructor

@ApiModel("参数配置")
public class Param implements Serializable {

  private Long id;
  @ApiModelProperty(name = "type",value = "参数类型")
  private String type;
  @ApiModelProperty(name = "name",value = "参数名称")
  private String name;
  @ApiModelProperty(name = "values",value = "值")
  private Integer values;
  @ApiModelProperty(name = "explain",value = "说明")
  private String explain;
  @ApiModelProperty(name = "updateTime",value = "更新时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Timestamp updateTime;


}
